package com.szlanyou.thirdsdk.retrofit.loading;

import android.app.Activity;

/**
 * @author 陈章
 * create at 2021/7/12 17:35
 * desc:
 * 网络请求Loading框处理
 */
public interface INetLoadingManage {
    /**
     * 设置{@link NetLoadingStateAction}
     * @param loadingAction
     */
    void setLoadingAction(NetLoadingStateAction loadingAction);

    /**
     * 获取当前的NetLoadingStateAction
     * @return
     */
    NetLoadingStateAction getLoadingAction();

    /**
     * 释放
     * @param activity
     */
    void releaseLoadingAction(Activity activity);
}
